package net.zjitc.service;

import net.zjitc.dao.UserDao;
import net.zjitc.dao.UserDaoInmpl;
import net.zjitc.domain.User;

import java.sql.SQLException;

/**
 * Created by Administrator on 2017/10/8.
 */
public class UserServiceImpl implements UserService{
    @Override
    public User findAll() throws SQLException {
        UserDao userDao=new UserDaoInmpl();
        User user=userDao.findAll();
        return user;
    }
}
